/********************************************************************************
 * Letters.java
 *
 * Created by Jigar Mistry
 * Last modified Date: Aug 28, 2008 3:03:28 PM by Jigar Mistry
 * Version : 0.1
 * Copyright (c) 2008 - 2009 cyberThink Infotech Pvt. Ltd., All rights reserved.
 ********************************************************************************/

package com.printeverywhere.dto;

/**
 * Letters entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Letters implements java.io.Serializable {

	// Fields

	/** The letter id. */
	private int letterId;
	
	/** The admin. */
	private Admin admin;
	
	/** The subject. */
	private String subject;
	
	/** The message. */
	private String message;

	// Constructors

	/**
	 * default constructor.
	 */
	public Letters() {
	}

	/**
	 * full constructor.
	 * 
	 * @param admin the admin
	 * @param subject the subject
	 * @param message the message
	 */
	public Letters(Admin admin, String subject, String message) {
		this.admin = admin;
		this.subject = subject;
		this.message = message;
	}

	// Property accessors

	/**
	 * Gets the letter id.
	 * 
	 * @return the letter id
	 */
	public int getLetterId() {
		return this.letterId;
	}

	/**
	 * Sets the letter id.
	 * 
	 * @param letterId the new letter id
	 */
	public void setLetterId(int letterId) {
		this.letterId = letterId;
	}

	/**
	 * Gets the admin.
	 * 
	 * @return the admin
	 */
	public Admin getAdmin() {
		return this.admin;
	}

	/**
	 * Sets the admin.
	 * 
	 * @param admin the new admin
	 */
	public void setAdmin(Admin admin) {
		this.admin = admin;
	}

	/**
	 * Gets the subject.
	 * 
	 * @return the subject
	 */
	public String getSubject() {
		return this.subject;
	}

	/**
	 * Sets the subject.
	 * 
	 * @param subject the new subject
	 */
	public void setSubject(String subject) {
		this.subject = subject;
	}

	/**
	 * Gets the message.
	 * 
	 * @return the message
	 */
	public String getMessage() {
		return this.message;
	}

	/**
	 * Sets the message.
	 * 
	 * @param message the new message
	 */
	public void setMessage(String message) {
		this.message = message;
	}
}